﻿using System;
using Conference.Core.BL.Entities;
using TeaLightV5.Foundation.Sal.Interfaces;
using TeaLightV5.Foundation.UX.Interfaces.Models;
using TeaLightV5.Foundation.UX.ViewModels;
using TeaLightV5.Foundation.BL;

namespace Conference.Core.UX.ViewModels
{
    public abstract class CreateEntityViewModel<T, TE>
        : CreateEntityViewModel<T, TE, string>
        where TE : class, IEntity<string>, new()
        where T : IEntityModel<TE, string>, new()
    {
        protected CreateEntityViewModel()
            : base(null)
        {
        }

        protected CreateEntityViewModel(ModelParameters<string> parameters)
            : base(parameters)
        {
        }

    }
}
